package com.szitrus.smp.scalseal.exception;

/**
 * 描述：错误码
 *
 * @author ssl
 * @create 2020/09/21 14:11
 */
public enum CommonErrorCodeEnum implements ErrorCodeEnum {
    B_1001("B1001","未查询到印章数据。"),
    B_1002("B1002","获取原始印章图片失败。"),
    B_1003("B1003","缩放图片失败。"),
    B_1004("B1004","图片去除白底失败。"),

    ;
    private String code;
    private String msg;

    CommonErrorCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
